package Search;

/**
 * 模拟数组生成器
 * XD-RedMi14 2025/03/11
 */
public class ArrayGenerator {

    private ArrayGenerator() {
    }

    public static Integer[] getOrderedArray(int n) {
        Integer[] arr = new Integer[n];
        for (int i = 0; i < n; i++) {
            arr[i] = i;
        }
        return arr;
    }
}
